﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using MLSMooc.Helper;

namespace MLSMooc.Controllers
{
    public class EncryptController : Controller
    {
        [HttpGet]
        public string  Encrypt(string enStr)
        {
            var res =  EncryptHelper.ToAESDecrypt(enStr);
            return SerializeHelper.SerializeJson(res);
        }
    }
}